package com.site.wisdom_construction.service.personnelModule;

import com.site.wisdom_construction.dao.personnelModule.EducationTechnicalDisclosureDao;
import com.site.wisdom_construction.entity.personnelModule.EducationTechnicalDisclosure;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/3/28
 * @Description
 */
@Service
public class EducationTechnicalDisclosureService implements EducationTechnicalDisclosureDao {
    @Autowired
    private EducationTechnicalDisclosureDao educationTechnicalDisclosureDao;

    @Override
    public int insertEducationTechnicalDisclosure(Map map) {
        return educationTechnicalDisclosureDao.insertEducationTechnicalDisclosure(map);
    }

    @Override
    public int deleteEducationTechnicalDisclosure(Map map) {
        return educationTechnicalDisclosureDao.deleteEducationTechnicalDisclosure(map);
    }

    @Override
    public int updateEducationTechnicalDisclosure(Map map) {
        return educationTechnicalDisclosureDao.updateEducationTechnicalDisclosure(map);
    }

    @Override
    public List<EducationTechnicalDisclosure> findEducationTechnicalDisclosureByPage(Map map) {
        return educationTechnicalDisclosureDao.findEducationTechnicalDisclosureByPage(map);
    }

    @Override
    public long Total(Map map) {
        return educationTechnicalDisclosureDao.Total(map);
    }

    @Override
    public EducationTechnicalDisclosure findEducationTechnicalDisclosureById(Map map) {
        return educationTechnicalDisclosureDao.findEducationTechnicalDisclosureById(map);
    }

    @Override
    public List<EducationTechnicalDisclosure> selectEducationTechnicalDisclosure(Map map) {
        return educationTechnicalDisclosureDao.selectEducationTechnicalDisclosure(map);
    }
}
